package cn.csust.net2.manager.server.dao;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
@Deprecated
public class QueryBuilder {
	public static StringBuffer addPageInfo(StringBuffer org,PagingLoadConfig config){
		String sort =null;
		if (config.getSortInfo().getSortField() != null) { 
			
			sort = config.getSortInfo().getSortField();
		}
		String sortStr = sort == null ? " ":" ORDER BY "+ sort +" ASC ";
		return org.append(sortStr);
	}
}
